package com.epalmpay.controller.channel.system;

import com.epalmpay.commom.BaseController;
import com.epalmpay.dto.system.GroupModuleInDTO;
import com.epalmpay.dto.system.GroupModuleOutDTO;
import com.epalmpay.entity.GroupModule;
import com.epalmpay.mapper.GroupModuleMapper;
import com.epalmpay.service.groupmodule.IGroupModuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

/**
 * Created by gwn on 2017/9/7.
 */
@Controller
@RequestMapping(value="/merchant")
public class IsYunController  extends BaseController{

   @Autowired
    private IGroupModuleService groupModuleService;


    @RequestMapping(value="/isYun")
    @ResponseBody
    public GroupModuleOutDTO isYun(GroupModuleInDTO groupModuleInDTO){
        GroupModuleOutDTO groupModuleOutDTO = new GroupModuleOutDTO();
        groupModuleOutDTO= groupModuleService.queryGroupModule(groupModuleInDTO);
        return groupModuleOutDTO;
    }
}
